package me.xiaoyan.ehr.vo;

import lombok.Data;

@Data
public class ApiResponseData<T> {
    private int code = 0;
    private String message = "success";
    private T data;

    public ApiResponseData createError(int code,String message) {
        this.code = code;
        this.message = message;
        return this;
    }
}
